<script type="text/javascript" language="javascript" charset="utf-8">
$(".header-con li a").removeClass("open-menu");
$(".header-con li #target").addClass("open-menu");
</script>
<div class="boxed clearfix">
  <div class="mask">
  </div>
  <div class="common-tit">
    <h2>未分配意向学员</h2>
    <span>团队管理 > 未分配意向学员</span>
    <!-- <a class="add-staff" href="javascript:;">添加员工</a> -->
  </div>
  <div class="n-assig">
    <div class="scrollbox">
      <table>
        <thead>
          <tr>
            <th class="as-img">头像</th>	
            <th class="as-name">姓名</th>
            <th class="as-sex">性别</th>
            <th class="as-age">年龄阶段</th>
            <th class="as-operation">
              <div>
                <em>操作</em>
              </div>
            </th>
          </tr>
        </thead>
        <tbody>
          <% @potential_students.each do |ps| %>
          <tr>
            <td>
              <div class="as-imgbox">
                <img src="" alt="">
              </div>
            </td>	
            <td><%= ps.name %></td>
            <td><%= ps.sex %></td>
            <td><%= ps.student_age_group %></td>
            <td class="as-operation">
              <div>
                <em>[</em>
                <%= link_to "详情", admin_targets_potential_student_path(ps) %>
                <em>]</em>
                <em>[</em>
                <span><%= link_to "指派专员", assign_admin_targets_potential_student_path(ps), remote: true %></span>
                <em>]</em>
              </div>
            </td>
          </tr>
          <%end%>
        </tbody>
      </table>
    </div>
  </div>
</div>
<script src="/assets/js/jquery-1.12.3.js"></script>
<script src="/assets/js/common-list.js"></script>
